package com.zwb.demo.easyweb.modules.database.service;

import com.zwb.demo.easyweb.common.entity.response.ResponseResult;
import com.zwb.demo.easyweb.modules.database.vo.DatabaseTableVO;

import java.util.List;

public interface DatabaseTableService {
    ResponseResult findAllByDatabaseLinkId(String uuid);

    ResponseResult findJdbcTableByDatabaseLinkId(String uuid);

    ResponseResult importFromDatabase(String databaseId, List<String> tables);

    ResponseResult deleteOne(String uuid);

    ResponseResult saveOne(DatabaseTableVO vo);
}
